﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="gerenrizhi.aspx.cs" Inherits="qs_rizhi_gerenrizhi" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>个人日志</title>
    <style type="text/css">
 a:link {
	font-size: 12px;
	text-decoration: none;
}
.style1 {
	font-size: 13px;
	color: #FFFFFF;
font-weight: bold;
} 
 </style>
</head>
<body>
    <form id="form1" runat="server">
   <div align="center">
  
  <table width="90%" border="0" cellpadding="0" cellspacing="0" >
    <tr>
      
      <td width="936" bgcolor="#5AAE18"><div align="center">
          <div align="center" class="style1 style19"><strong>日 志 列 表</strong></div>
          <span class="style1"></span></div></td>
     
    </tr>
  </table>
  <table width="90%" border="0" cellpadding="2" cellspacing="1" bgcolor="#5AAE18">
  <%string id = this.Request.QueryString["u_id"];
    int uid = Int32.Parse(id);
    string where = "w_u_id='{0}'";
    where = string.Format(where, uid);
    System.Collections.Generic.IList<COM.OA.Entity.worklog> lists = COM.OA.BLL.worklogBLL.Select(where); %>
    <% System.Collections.Generic.List<COM.OA.Entity.worklog> list = (System.Collections.Generic.List<COM.OA.Entity.worklog>)lists;%>
    <% list.Reverse(); %>
    <%COM.OA.Entity.users us = COM.OA.BLL.usersBLL.Select(uid);
        
      
        %>
    <%foreach(COM.OA.Entity.worklog wl in list) %>
    <%{ %>
    <tr >
    
      <td width="49" bgcolor="#ffffff"><div align="center" style="font-size: 13px" >标 题</div></td>
      <td class="" bgcolor="#ffffff" align="center" style="text-align: left"><span style="font-size: 13px"><strong><%=wl.w_title %></strong>　</span></td>
    </tr>
    <tr bgcolor="#FFFFFF">
       <td width="49" valign="top" style="height: 19px"><div align="center"><span class="style14 style17" style="font-size: 13px">内 容</span></div></td>
      <td width="929" class="style3" style="text-align: left; height: 19px;" ><span style="font-size: 13px"><%=wl.w_content %></span></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td>&nbsp;</td>
      <td><div align="right" class="style8 style15">
         <div align="left" style="text-align: right"><strong><strong><span class="style17"> 　　 <img src="../../img/write.gif" width="7" height="13"></span></strong><span class="style17">　<span class="style15" style="font-size: 13px">　</span></span></strong><span class="style17 style15" style="font-size: 13px">发送人</span><span class="style14 style17 style15">:</span>
          <span class="style17 style15" style="font-size: 13px"><span style="font-size: 13px"><%=us.u_username %></span> 发送时间：<span style="font-size: 13px"><%=wl.w_sendtime %></span></span> </div>
      </div></td>
    </tr>
    <%} %>
    
    
  </table>
  <br/>
  总共 <%=list.Count%> 记录<br/>
  <br/>
  <table width="13%"  border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><a href="javascript:history.go(-1)">返 回</a></td>
    </tr>
  </table>
  
  
<p><br/>
  </p>
  
  

  <p>&nbsp; </p>
</div>
    </form>
</body>
</html>
